<html>
<head>
    <!-- Tip: Use relative URLs when referring to other in-app content to give
              your app code the flexibility to change the scheme or domain as
              necessary. -->
    <link rel="stylesheet" href="/assets/stylesheet.css">
    <script src="https://cdn.signalfx.com/o11y-gdi-rum/latest/splunk-otel-web.js"
            crossorigin="anonymous"></script>
    <script>
      WebfunnyRum.init({
          beaconUrl: 'https://rum-ingest.' + Android.getRumRealm() + '.signalfx.com/v1/rum',
          rumAuth: Android.getRumAccessToken(),
          app: 'Android WebView Spectacular.com'
        });
    </script>
</head>
<body>
<p>This file was <b>also</b> loaded from in-app content</p>
<input type="button" value="Say goodbye" onClick="showAndroidToast('Goodbye Android!')"/>

<p>Session ID: <span id="session_id"></span></p>

<script type="text/javascript">
    function showAndroidToast(toast) {
        Android.showToast(toast);
    }

    document.getElementById("session_id").innerHTML = WebfunnyRumNative.getNativeSessionId();

</script>

<p>
    <a href="https://appassets.androidplatform.net/assets/index.html">Back</a>
</p>
</body>
</html>